package com.cskaoyan.catmall.model.bo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Min;

/**
 * 创建日期: 2022-01-07-13-43
 * author : WQW
 * description: 查询品牌制造商时与品牌制造商相关的参数
 */

@Data
@NoArgsConstructor
public class BrandListBo extends BaseParamBo{

    @Min(value = 0,message = "输入id必须为数字，且必须大于0")
    Integer id;
    @Length(max = 50,message = "品牌商名称最长不能超过50个字符")
    String name;

}
